package com.authine.cloudpivot.ext.model.yunshu;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xue
 * @date 2021/7/21
 * 氚云上传附件model 用于接受氚云的数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AttachmentsUploadModel {

    /**
     * 表单编码 必传
     */
    private String schemaCode;
    /**
     * 表单ObjectId值 也就是返回氚云表单某条数据的主键id
     */
    private String bizObjectId;
    /**
     * 表单控件编码 必传
     */
    private String filePropertyName;
    /**
     * 附件信息
     */
    private List<Attachment> attachments;
}
